package com.tm.d14_method_references;
/**
 *2024/5/25 Cjj Car类 18:58
 */
public class Car {
    private String name;

    private double price;

    public Car() {
    }

    public Car(String name, double price) {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
